// components/navbar/index.js
const App = getApp();
const {Dialog, Notify, Toast} = require("../../config/modal")
Component({
    options: {
        addGlobalClass: true,
    },
    /**
     * 组件的属性列表
     */
    properties: {},

    /**
     * 组件的初始数据
     */
    data: {
        theamTextColor: "",
    },
    lifetimes: {
        attached: function () {
            this.setData({
                theamTextColor: App.globalData.theamTextColor
            })
        }
    },
    /**
     * 组件的方法列表
     */
    methods: {
        btnClick: function () {
            var myEventDetail = {} // detail对象，提供给事件监听函数
            var myEventOption = {} // 触发事件的选项
            this.triggerEvent('clickAddPlus', myEventDetail, myEventOption)
        }
    }
})